package com.kwan.xframe.mvvm.data.source.http.exception;

import android.os.Build;

import androidx.annotation.RequiresApi;

public class HttpApiException extends RuntimeException {

	private int code;
	private String msg;

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public HttpApiException() {

	}

	public HttpApiException(String message) {
		super(message);
	}

	public HttpApiException(String message, Throwable cause) {
		super(message, cause);
	}

	public HttpApiException(Throwable cause) {
		super(cause);
	}

	public HttpApiException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
	}


}
